package com.venta.autopartes.menu;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Menu {
	private Map<String,Menu> subMenu;
	private List <Option> optionsList;
	
	
	public Menu(Map<String, Menu> subMenu, List<Option> optionsList) {
		super();
		this.subMenu = subMenu;
		this.optionsList = optionsList;
	}

	public Menu(){
		subMenu=new HashMap<String,Menu>();
		optionsList=new ArrayList<Option>();
	}
	
	public Menu(Map<String,Menu> subMenu){
		this(subMenu, new ArrayList <Option>() );
		
	}

	public Menu( List <Option> optionsList ){
		this(new HashMap<String,Menu>(),optionsList);
	}
	
	public Map<String, Menu> getSubMenu() {
		return subMenu;
	}
	public void setSubMenu(Map<String, Menu> subMenu) {
		this.subMenu = subMenu;
	}
	public List<Option> getOptionsList() {
		return optionsList;
	}
	public void setOptionsList(List<Option> optionsList) {
		this.optionsList = optionsList;
	}
	
}
